home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
QRZ! Ham Radio 8
/
QRZ Ham Radio Callsign Database - Volume 8.iso
/
mac
/
files
/
t_sys5
/
unixcpio.gz
/
unixnet.cpio
/
cmdparse.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-07-11
|
444b
|
14 lines
#define NARG 40 /* Max number of args to commands */
#define POOLSIZE 400 /* Max number of chars in expanded args */
struct cmds {
char *name; /* Name of command */
int (*func)(); /* Function to execute command */
int argcmin; /* Minimum number of args */
char *argc_errmsg; /* Message to print if insufficient args */
char *exec_errmsg; /* Message to print if function fails */
};
#ifndef NULLCHAR
#define NULLCHAR (char *)0
#endif